package com.wmh.baseservice.skd.service;

import com.wmh.baseservice.skd.pojo.SkdCommissionsAndRewards;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
* @author CH
* @description 针对表【skd_commissions_and_rewards(佣金和达量奖结算表)】的数据库操作Service
* @createDate 2023-12-05 17:45:21
*/
public interface SkdCommissionsAndRewardsService extends IService<SkdCommissionsAndRewards> {

    /**
     * 根据团长id获取总金额
     * @param leaderId 团长id
     * @return 返回总金额
     */
    BigDecimal getTotalAmountByLeaderId(Long leaderId);
}
